function totalFuel = SimpleFuelCalculation()

%REDACTED LOAD OF MAERSK MODULE;%

global n shipID
global draught trim pointIdentifiers FasterFasterYES p q

if FasterFasterYES > 0
    totalFuel = 0;
    for i = 2:n+2
        totalFuel = totalFuel + (pointIdentifiers(i, 4)...
            -pointIdentifiers(i-1, 4))...
            *polyval(q, polyval(p, pointIdentifiers(i, 3)));
    end
else
    totalFuel = 0;
    for i = 2:n+2
        totalFuel = totalFuel + (pointIdentifiers(i, 4)...
            -pointIdentifiers(i-1, 4))%REDACTED MAERSK CALL
    end
end
